<style>
.layui-form-pane .layui-form-label{width:auto;}
.layui-form-item{margin-bottom: 0px;}
.order-time-bg{background-color:#1E9FFF;color:white;padding:0px 5px;}
</style>
<form class="layui-form layui-form-pane" action="{:url()}" method="get" id="hisi-table-search">
<div class="layui-form-item">	
	<div class="layui-inline">
		<label class="layui-form-label">操作人</label>
		<div class="layui-input-inline">
			{:Form::select('admin_id', '', $userList, '', '')}
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label">订单号</label>
		<div class="layui-input-inline">
			<input type="text" name="client_ordernum" lay-verify="" placeholder="输入订单号" class="layui-input">
		</div>
	</div>
	<div class="layui-inline">
		<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">搜索</button>
	</div>
</div>
</form>

<table id="dataTable"></table>

{include file="system@block/layui" /}

<script type="text/javascript">
    layui.use(['table', 'tool'], function() {
        var table = layui.table;
        table.render({
            elem: '#dataTable'
            ,url: '{:url()}' //数据接口
            ,page: true //开启分页
            ,skin: 'row'
            ,even: true
            ,limit: 20
            ,limits: [20,50,100,150,200]
            ,text: {
                none : '暂无相关数据'
            }
            ,toolbar: true
            ,defaultToolbar: ['filter', 'exports', 'print']
            ,cols: [[ //表头
            	{field: 'shipment_time_text', title:'出货日期',width:150}
            	,{field: 'type_text', title:'工序'}
            	,{field: 'client_ordernum', title:'订单号', templet:function(d){return '<span class="copy-item">'+d.client_ordernum+'</span>'}}
            	,{field: 'tiaoshu', title:'总匹数'}
            	,{field: 'cloth_num', title:'布号'}
            	,{field: 'material_name', title:'布种'}
            	,{field: 'color', title:'颜色'}
            	,{field: 'come_time_text', title:'到料日期',width:150}
            	,{field: 'true_fabric_width', title:'实用布封'}
            	,{field: 'length', title:'米长'}
            	,{field: 'true_weight', title:'克重'}
            	,{field: 'create_time_text', title:'完成时间',width:150}
            ]]
        });
    });
</script>